a=open("D:/test.txt",mode="r" , encoding="utf-8")
print(type(a))
print(a.read())
print("-------------------------")
a.seek(0)
b=a.readlines()
print(b)

for line in b:

    print(line)

print(b[0])